Introduction

There are plenty of tools which can be used for automating post-exploitation enumeration on Linux machines.

Linux Enumeration with LinPEAS

LinPEAS is an amazing tool for automation enumeration. It is written in Bash which means that it requires no additional dependencies and can be freely run. In order to acquire the latest version of LinPEAS, run the following command:

wget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh

By default, running LinPEAS will perform many checks on the system and spit out a deluge of information. However, the tool can also be used to only perform specific tasks using the -o argument.

Enumerate system information:

./linpeas.sh -o system_information

Enumerate containers on the machine:

./linpeas.sh -o container

Enumerate cloud platforms:

./linpeas.sh -o cloud

Enumerate available software:

./linpeas.sh -o software_information

Enumerate processes, cronjobs, services, and sockets:

./linpeas.sh -o procs_crons_timers_srvcs_sockets

Enumerate network information:

./linpeas.sh -o network_information

Enumerate user information:

./linpeas.sh -o users_information

Enumerate interesting files:

./linpeas.sh -o interesting_files